﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Gma.QrCodeNet.Encoding;

namespace ex_2
{
    class Program
    {
        static void Main(string[] args)
        {
            string str = Console.ReadLine();

            Form1 form = new Form1(str);
            form.ShowDialog();


            /*Console.Write(@"Type some text to QR code: ");

            string sampleText = Console.ReadLine();

            QrEncoder qrEncoder = new QrEncoder(ErrorCorrectionLevel.M);

            QrCode qrCode = qrEncoder.Encode(sampleText);

            for (int j = 0; j < qrCode.Matrix.Width; j++)

            {

                for (int i = 0; i < qrCode.Matrix.Width; i++)

                {



                    char charToPrint = qrCode.Matrix[i, j] ? '█' : ' ';

                    Console.Write(charToPrint);

                }

                Console.WriteLine();

            }

            Console.WriteLine(@"Press any key to quit.");

            Console.ReadKey();*/

        }
    }
}
